public class Range {
  public static void main(String[] args) {
     System.out.printf("%d ~ %d%n",Byte.MIN_VALUE, Byte.MAX_VALUE);
     System.out.printf("%d ~ %d%n",Short.MIN_VALUE, Short.MAX_VALUE);
     System.out.printf("%d ~ %d%n",Integer.MIN_VALUE,Integer.MAX_VALUE);
     System.out.printf("%d ~ %d%n",Long.MIN_VALUE, Long.MAX_VALUE);
     System.out.printf("%d ~ %d%n",Float.MIN_VALUE, Float.MAX_VALUE);
     System.out.printf("%d ~ %d%n",Double.MIN_VALUE, Double.MAX_VALUE);
     System.out.printf("%h ~ %h%n",Character.MIN_VALUE, Character.MAX_VALUE);
     System.out.printf("%b ~ %b%n",Boolean.TRUE, Boolean.FALSE);
}
}
//这是书上的一个例题，显示各种类型可存储的数值范围，学习了解。
